package com.zust.enums;

import lombok.Getter;

/**
 * Created on 2018/3/15.
 * 订单状态枚举
 * @author Jie
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{

    NEW(0,"新订单"),
    FINISHED(1,"已完成"),
    CANCEL(2,"已取消")
    ;

    private Integer code;

    private String message;

    OrderStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
